package com.tt.vtg.exception;

public class VtgException extends RuntimeException {
	private int responseCode;
	private String errorCode;
	public VtgException(int responseCode,String errorCode,String message) {
		super(message);
		this.setErrorCode(errorCode);
		this.setResponseCode(responseCode);
	}
	public VtgException(String message) {
		super(message);
	}


	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public int getResponseCode() {
		return responseCode;
	}
	public void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}

}
